<template>
  <div style="height: 80%;">
    <h2 style="text-align: center;">{{currentPrint.title}}申请表</h2>
    <table border="1" style="border-collapse: collapse;width: 100%;height: 100%;text-align: center;">
      <tr>
        <td width="100">姓名</td>
        <td>{{currentPrint.name}}</td>
        <td width="100">身份证号</td>
        <td colspan="3">{{currentPrint.idCardNumber}}</td>
        <td rowspan="3" width="150" height="200" style="padding: 5px;">
          <img :src="currentPrint.photo"  style="width: 100%;">
        </td>
      </tr>
      <tr>
        <td>性别</td>
        <td>{{currentPrint.gender}}</td>
        <td>民族</td>
        <td colspan="3">{{currentPrint.nation}}</td>
      </tr>
      <tr>
        <td>住址</td>
        <td colspan="5">{{currentPrint.address}}</td>
      </tr>
      <tr>
        <td height="50">监护人</td>
        <td width="100">{{currentPrint.guardian1}}</td>
        <td>工作单位</td>
        <td width="200">{{currentPrint.guardian1firm}}</td>
        <td width="100">联系电话</td>
        <td colspan="2" width="200" >{{currentPrint.guardian1guardian1phone ||currentPrint.guardian1phone}}</td>
      </tr>
      <tr>
        <td height="50">监护人</td>
        <td>{{currentPrint.guardian2}}</td>
        <td>工作单位</td>
        <td>{{currentPrint.guardian2firm}}</td>
        <td width="100">联系电话</td>
        <td colspan="2">{{currentPrint.guardian2guardian1phone || currentPrint.guardian2phone}}</td>
      </tr>
      <tr>
        <td height="50">运动项目</td>
        <td>{{currentPrint.sport}}</td>
        <td>教练员</td>
        <td>{{currentPrint.coach}}</td>
        <td>就读年级</td>
        <td colspan="2">{{currentPrint.grade}}</td>
      </tr>
      <tr>
        <td height="50">推荐学校</td>
        <td colspan="6"></td>
      </tr>
      <tr>
        <td height="100">科医部门意见</td>
        <td colspan="6" style="padding: 40px 80px 0 40px;">
            <span v-if="currentPrint.title!='离队'">日期</span>
            <span v-if="currentPrint.title!='离队'" style="float: right;">签名盖章</span>
        </td>
      </tr>
      <tr>
        <td height="100">教练员意见</td>
        <td colspan="6" style="padding: 40px 80px 0 40px;">
            <span>日期</span>
            <span style="float: right;">签名盖章</span>
        </td>
      </tr>
      <tr>
        <td height="100">训练科意见</td>
        <td colspan="6" style="padding: 40px 80px 0 40px;">
            <span>日期</span>
            <span style="float: right;">签名盖章</span>
        </td>
      </tr>
      <tr>
        <td height="100">校领导意见</td>
        <td colspan="6" style="padding: 40px 80px 0 40px;">
            <span>日期</span>
            <span style="float: right;">签名盖章</span>
        </td>
      </tr>
      <tr>
        <td height="150">备注</td>
        <td colspan="6"></td>
      </tr>
    </table>
  </div>
</template>

<script>
  import {process_playerInfo} from "@/api/person.js"
  export default {
    props: {
      currentPrint: {
        type: Object,
        default: {}
      },
    },
  }
</script>

<style>
</style>
